#ifndef _MYPROFILEFORM_H_
#define _MYPROFILEFORM_H_

#include <FBase.h>
#include <FUi.h>

class MyProfileForm: public Osp::Ui::Controls::Form,
		public Osp::Ui::IActionEventListener {


public:
	MyProfileForm(void);
	virtual ~MyProfileForm(void);
	bool Initialize();
	result OnInitializing(void);
	result OnTerminating(void);

	// Implementation
protected:
	static const int ID_SOFTKEY_BACK = 102;
	Osp::Ui::Controls::EditArea*pEditAreaProfile;
//	Osp::Ui::Controls::Frame*pFrame;
	//Osp::Ui::Controls::Form *pParentForm;
	static int FormId;

public:
	void SetFormId(int id){
		FormId = id;
	}

	static int GetFormId(){
		return FormId;
	}

	virtual void
	OnActionPerformed(const Osp::Ui::Control& source, int actionId);
	void SetMyProfileToEditArea(Osp::Base::String myProfile,
			Osp::Base::String location);
	void ThongBaoLoi(Osp::Base::String value);
};

#endif
